import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
// 引入AntdUI
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
//引入pinia
import { createPinia } from 'pinia';
// 引入css
import '@/assets/css/normalize.scss';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
let pinia = createPinia();
// 使用持久化存储
pinia.use(piniaPluginPersistedstate);
//mock 数据
import './mock';
createApp(App).use(pinia).use(Antd).use(router).mount('#app');
